import request from '@/utils/request';

// 获取下拉库数据，到达航站和出发航站的
export async function queryCityInfo(params) {
  return request('/dp/sys/getSelectCityInfo', {
    method: 'get',
    params,
  })
}
// 获取柜台升舱列表
export async function queryCounterTable (params) {
  return request('/ao/upgrade/aoCounterUpgrade/page', {
    method: 'get',
    params
  })
}
// 删除
export async function deleteData (params) {
  return request('/ao/upgrade/aoCounterUpgrade/delete', {
    method: 'post',
    data: params
  })
}
// 保存
export async function saveData (params) {
  return request('/ao/upgrade/aoCounterUpgrade/save', {
    method: 'post',
    data:params
  })
}
// 导出报表demo
export async function downLoadExcel(params) {
  return request('/ao/upgrade/aoCounterUpgrade/downloadExcel', {
    method: 'get',
    params,
    responseType: "blob"
  })
}

// 导入
export function importChart(data) {
  return request('/ao/upgrade/aoCounterUpgrade/importExcel', {
    method: 'post',
    data
  });
}

